<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{registroAgencias.page1}" id="page1">
            <ui:html binding="#{registroAgencias.html1}" id="html1">
                <ui:head binding="#{registroAgencias.head1}" id="head1">
                    <ui:link binding="#{registroAgencias.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{registroAgencias.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{registroAgencias.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="encab1.jspf"/>
                        </div>
                        <ui:label binding="#{registroAgencias.label1}" id="label1"
                            style="color: rgb(0, 0, 153); font-size: 13px; left: 51px; top: 120px; position: absolute" text="REGISTRO DE SOLICITUDES POR LINEA DE CREDITO"/>
                        <h:panelGrid binding="#{registroAgencias.gridPanel1}" columns="0" id="gridPanel1" style="left: 24px; top: 168px; position: absolute">
                            <h:panelGrid binding="#{registroAgencias.gridPanel3}" columns="3" id="gridPanel3" width="120">
                                <ui:button action="#{registroAgencias.regresarButton_action}" binding="#{registroAgencias.regresarButton}" id="regresarButton"
                                    imageURL="/resources/FlechaIzquierda.jpg" mini="true" style="height: 32px; width: 32px" text="Botón"/>
                                <ui:button action="#{registroAgencias.cerrarButton_action}" binding="#{registroAgencias.cerrarButton}" id="cerrarButton"
                                    imageURL="/resources/home3.gif" mini="true" style="height: 32px; width: 32px" text="Botón"/>
                                <ui:button action="#{registroAgencias.imprimirButton_action}" binding="#{registroAgencias.imprimirButton}" id="imprimirButton"
                                    imageURL="/resources/action_print1.gif" style="height: 32px; width: 32px" text="Botón"/>
                            </h:panelGrid>
                            <h:panelGrid binding="#{registroAgencias.gridPanel2}" columns="4" id="gridPanel2">
                                <ui:label binding="#{registroAgencias.label2}" id="label2" text="PRODUCTO:"/>
                                <ui:textField binding="#{registroAgencias.textField2}" id="textField2" readOnly="true" style="width: 190px" text="#{SessionBean1.descripcion}"/>
                                <ui:label binding="#{registroAgencias.label3}" id="label3" text="LINEA DE CREDIT0:"/>
                                <ui:textField binding="#{registroAgencias.textField1}" id="textField1" readOnly="true" style="width: 200px" text="#{SessionBean1.desSublinea}"/>
                            </h:panelGrid>
                            <ui:table binding="#{registroAgencias.table1}" deselectMultipleButton="true" deselectSingleButton="true" id="table1"
                                paginateButton="true" paginationControls="true" style="width: 1680px" width="1680">
                                <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                                <ui:tableRowGroup binding="#{registroAgencias.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                    sourceData="#{registroAgencias.sct0022DataProvider2}" sourceVar="currentRow">
                                    <ui:tableColumn binding="#{registroAgencias.tableColumn1}" headerText="AGENCIA" id="tableColumn1"
                                        sort="CDGOESTDOEXTRNOSLCTUD" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText1}" id="staticText1" text="#{currentRow.value['CDGOESTDOEXTRNOSLCTUD']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn2}" headerText="TOTAL SOLICITUDES" id="tableColumn2"
                                        sort="CDGODSPCHO" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText2}" id="staticText2" text="#{currentRow.value['CDGODSPCHO']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn3}" headerText="RADICACIÓN" id="tableColumn3"
                                        sort="CDGOESTDODCMNTCION" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText3}" id="staticText3" text="#{currentRow.value['CDGOESTDODCMNTCION']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn4}" headerText="% RADICACIÓN" id="tableColumn4"
                                        sort="AMPRDAPR" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText4}" id="staticText4" text="#{currentRow.value['AMPRDAPR']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn5}" headerText="DIGITACIÓN" id="tableColumn5"
                                        sort="INDCDRPLSTCO" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText5}" id="staticText5" text="#{currentRow.value['INDCDRPLSTCO']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn6}" headerText="% DIGITACIÓN" id="tableColumn6"
                                        sort="NITEMPRSAAGNTES" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText6}" id="staticText6" text="#{currentRow.value['NITEMPRSAAGNTES']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn7}" headerText="ANALISIS" id="tableColumn7"
                                        sort="CDGOAGNTE" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText7}" id="staticText7" text="#{currentRow.value['CDGOAGNTE']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn8}" headerText="% ANALISIS" id="tableColumn8"
                                        sort="NMROSLCTUDTTLAR" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText8}" id="staticText8" text="#{currentRow.value['NMROSLCTUDTTLAR']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn9}" headerText="DECISIÓN" id="tableColumn9"
                                        sort="OBSRVCNES" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText9}" id="staticText9" text="#{currentRow.value['OBSRVCNES']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn15}" headerText="% DECISIÓN" id="tableColumn15"
                                        sort="CDGOCSA" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText15}" id="staticText15" text="#{currentRow.value['CDGOCSA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn10}" headerText="PRE-APROBACIÓN" id="tableColumn10"
                                        sort="CNDCNESPGRE" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText10}" id="staticText10" text="#{currentRow.value['CNDCNESPGRE']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn11}" headerText="APROBADAS" id="tableColumn11"
                                        sort="MRGEN" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText11}" id="staticText11" text="#{currentRow.value['MRGEN']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn12}" headerText="% APROBADAS" id="tableColumn12"
                                        sort="TPOTSA" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText12}" id="staticText12" text="#{currentRow.value['TPOTSA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn align="center" binding="#{registroAgencias.tableColumn13}" headerText="NEGADAS" id="tableColumn13"
                                        sort="TPOGRNTIA" valign="middle">
                                        <ui:staticText binding="#{registroAgencias.staticText13}" id="staticText13" text="#{currentRow.value['TPOGRNTIA']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{registroAgencias.tableColumn14}" headerText="% NEGADAS" id="tableColumn14" sort="PLZO">
                                        <ui:staticText binding="#{registroAgencias.staticText14}" id="staticText14" text="#{currentRow.value['PLZO']}"/>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                            </ui:table>
                            <ui:messageGroup binding="#{registroAgencias.messageGroup1}" id="messageGroup1"/>
                        </h:panelGrid>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
